package Utils;

import javax.swing.*;

public class MainTopView {

    public static JButton[] getBtns(){
        JButton[] btns = new JButton[6];
        String[] title = {"基本档案","采购订货","仓库入库","仓库出库","人员管理","部门管理"};
        for (int i = 0; i <btns.length ; i++) {
            btns[i] = new JButton(title[i]);
            btns[i].setBounds(110*i,0,110,100);
        }
        return btns;
    }
}
